﻿using OpenLS.Core.Serialization;

namespace OpenLS.Chart
{
    class ChartHelper
    {
        public static bool ReadVaryColors (ReadContext context)
        {
            return  context.ReadOptionalElementBooleanAttribute("varyColors", false, false);
        }
        public static void WriteVaryColors (WriteContext context, bool varyColors)
        {
            context.WriteOptionalElementBooleanAttribute("varyColors", varyColors);

        }
    }
}